package com.eascs.site.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.eascs.app.log.Logger;
import com.eascs.app.log.LoggerFactory;
import com.eascs.web.context.RequestContext;

public class DefaultServletViewController extends BaseViewController {
	private final Logger logger = LoggerFactory.getLogger(DefaultServletViewController.class);

	@RequestMapping(value = "/**", method = RequestMethod.GET)
	public String all() {
		String url = RequestContext.getRequestURI();
		logger.debug("DefaultServletView:{}", url);
		return url;
	}
}
